import request from '../http/index'

const req = request()

export const login = (data: any) => {
  return req.post('/api/login', data)
}

export const regist = (data: any) => {
  return req.post('/regist', data)
}
